//
//  OrderListDetailModel.h
//  NtoccShipper
//
//  Created by mac on 2019/12/15.
//  Copyright © 2019 zhuchongjin. All rights reserved.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface OrderDetailModel :BaseModel
@property (nonatomic , copy) NSString              *payOil;
@property (nonatomic , copy) NSString              * fundErrMsg;
@property (nonatomic , assign) CGFloat              deliveryFeePractical;
@property (nonatomic , assign) CGFloat              isReceiptReturn;
@property (nonatomic , copy) NSString              * loadPlace;
@property (nonatomic , assign) CGFloat              invoiceStatus;
@property (nonatomic , assign) CGFloat               price;
@property (nonatomic , copy) NSString              * receiptImg;
@property (nonatomic , assign) CGFloat              detailGoodsTotal;
@property (nonatomic , assign) CGFloat              isDriverComment;
@property (nonatomic , assign) CGFloat              isShipmentComment;
@property (nonatomic , copy) NSString              * accountCheckUpAuthDate;
@property (nonatomic , copy) NSString              * vehicleLicense;
@property (nonatomic , copy) NSString              * settleTime;
@property (nonatomic , assign) CGFloat              contractStatus;
@property (nonatomic , copy) NSString              * invoiceCodeDriver;
@property (nonatomic , assign) CGFloat              taxPrice;
@property (nonatomic , copy) NSString              * shipperDealRemark;
@property (nonatomic , copy) NSString              * driverApplyRemark;
@property (nonatomic , assign) CGFloat              isAbnormal;
@property (nonatomic , assign) CGFloat              isSendFund;
@property (nonatomic , copy) NSString              * accountCheckUpUserCode;
@property (nonatomic , copy) NSString              * unloadPlace;
@property (nonatomic , copy) NSString              * vehicleCode;
@property (nonatomic , assign) CGFloat              insureRate;
@property (nonatomic , assign) CGFloat           insuranceFee;
@property (nonatomic , copy) NSString              * teamName;
@property (nonatomic , assign) CGFloat              accountCheckAuthStatus;
@property (nonatomic , copy) NSString              * coalName;
@property (nonatomic , copy) NSString              * code;
@property (nonatomic , copy) NSString              * createdByName;
@property (nonatomic , copy) NSString              * gmtModified;
@property (nonatomic , copy) NSString              * sendTime;
@property (nonatomic , copy) NSString              * unloadLatitude;
@property (nonatomic , copy) NSString              * gmtCreated;
@property (nonatomic , copy) NSString              * accountCheckInfoAuthDate;
@property (nonatomic , copy) NSString              * accountCheckInfoUserCode;
@property (nonatomic , copy) NSString              * coalType;
@property (nonatomic , copy) NSString              * dispatchOrderCode;
@property (nonatomic , copy) NSString              * driverPhone;
@property (nonatomic , copy) NSString              * invoiceCode;
@property (nonatomic , assign) CGFloat  loadWeight;
@property (nonatomic , copy) NSString              * createdBy;
@property (nonatomic , assign) CGFloat              isPaperReturns;
@property (nonatomic , copy) NSString              * modifiedBy;
@property (nonatomic , copy) NSString              * unloadLongitude;
@property (nonatomic , assign) CGFloat              driverHistoryCount;
@property (nonatomic , assign) CGFloat              isLoadingConfirm;
@property (nonatomic , assign) CGFloat              isSettle;
@property (nonatomic , copy) NSString              * mainOrderCode;
@property (nonatomic , copy) NSString              * abnormalRemark;
@property (nonatomic , copy) NSString              * payAmount;
@property (nonatomic , copy) NSString              * accountCheckAuthDate;
@property (nonatomic , assign) CGFloat              isSend;
@property (nonatomic , assign) CGFloat              isSign;
@property (nonatomic , assign) CGFloat              accountCheckUpAuthStatus;
@property (nonatomic , copy) NSString              * orderCode;
@property (nonatomic , copy) NSString              * accountCheckCode;
@property (nonatomic , copy) NSString              * isUnloadingComfirmDate;
@property (nonatomic , copy) NSString              * payTime;
@property (nonatomic , assign) CGFloat              applyStatus;
@property (nonatomic , assign) CGFloat              cashDeposit;
@property (nonatomic , assign) CGFloat              deliveryFeeDeserved;
@property (nonatomic , copy) NSString              * isPaperReturnsDate;
@property (nonatomic , assign) CGFloat              accountCheckInfoAuthStatus;
@property (nonatomic , assign) CGFloat              isCuikuan;
@property (nonatomic , copy) NSString              * isFill;
@property (nonatomic , copy) NSString              * shippingNoteNumber;
@property (nonatomic , assign) CGFloat            deliveryCashFee;
@property (nonatomic , copy) NSString              * accountCheckUpCode;
@property (nonatomic , copy) NSString              * businessTypeCode;
@property (nonatomic , assign) CGFloat              cancelType;
@property (nonatomic , assign) CGFloat              payStatus;
@property (nonatomic , copy) NSString              * coalTypeName;
@property (nonatomic , copy) NSString              * insuranceAmount;
@property (nonatomic , assign) CGFloat              monthlySettlementStatus;
@property (nonatomic , copy) NSString              * sendFundTime;
@property (nonatomic , assign) CGFloat unloadWeight;
@property (nonatomic , copy) NSString              * accountCheckUserCode;
@property (nonatomic , copy) NSString              * insureImg;
@property (nonatomic , copy) NSString              * receiptNum;
@property (nonatomic , copy) NSString              * branchCode;
@property (nonatomic , copy) NSString              * driverCode;
@property (nonatomic , assign) CGFloat            inFee;
@property (nonatomic , assign) CGFloat              infoFee;
@property (nonatomic , copy) NSString              * signTime;
@property (nonatomic , assign) CGFloat            weight;
@property (nonatomic , assign) CGFloat               loadQuantity;
@property (nonatomic , copy) NSString              * loadLatitude;
@property (nonatomic , assign) CGFloat              payType;
@property (nonatomic , assign) CGFloat            deliveryOilFee;
@property (nonatomic , assign) CGFloat              isUnloadingConfirm;
@property (nonatomic , copy) NSString              * abnormalImg;
@property (nonatomic , copy) NSString              * teamPhone;
@property (nonatomic , copy) NSString              * customOrderDetailNumber;
@property (nonatomic , copy) NSString              * transferTime;
@property (nonatomic , assign) CGFloat                unloadQuantity;
//运单状态：1已接单/2已装货/3已卸货/4已核算/5已完成
@property (nonatomic , assign) NSInteger              status;
@property (nonatomic , copy) NSString              * errMsg;
@property (nonatomic , assign) CGFloat              deleted;
@property (nonatomic , copy) NSString              * driverName;
@property (nonatomic , copy) NSString              * modifiedByName;
@property (nonatomic , assign) CGFloat               shipperDeliveryFee;
@property (nonatomic , copy) NSString              * loadLongitude;
@property (nonatomic , assign) CGFloat            taxPayFee;
@property (nonatomic , assign) CGFloat           extraFee;
@property (nonatomic , assign) CGFloat              driverAverage;
@property (nonatomic , copy) NSString              * insureNum;
@property (nonatomic , copy) NSString              * accountCheckInfoCode;
@property (nonatomic , assign) CGFloat              isInsure;
@property (nonatomic , assign) CGFloat              accountStatus;
@property (nonatomic , copy) NSString              * fillTime;
@property (nonatomic , assign) CGFloat              invoiceStatusDriver;
@property (nonatomic , assign) CGFloat              isCash;
@property (nonatomic , assign) CGFloat              wastage;
@property (nonatomic , assign) CGFloat           abnormalFee;  // 其他费用
@property (nonatomic , assign) CGFloat              isCancel;
@property (nonatomic , assign) CGFloat            taxFee;
@property (nonatomic , copy) NSString              * applyTime;
@property (nonatomic , copy) NSString              * isLoadingConfirmDate;
@property (nonatomic , copy) NSString              * xid;
@property (nonatomic , assign) CGFloat             insurePrice;
@property (nonatomic , assign) CGFloat              isTransfer;
@property (nonatomic , assign) double realPrice;  //承运单价
@property (nonatomic , assign) double settlementWeight; //结算吨位
@property (nonatomic,assign) double payTaxAmount; // 货主预付
@property (nonatomic,assign) double shipmentDeliveryFeePractical; // 货主应付
@property (nonatomic,assign) double shipmentActualFreight; // 货主费用--实付运费
@property (nonatomic,assign) double shipmentActualCash; //货主费用--实付现金
@property (nonatomic , copy) NSString              * remark;
@end

@interface OrderModel :BaseModel
@property (nonatomic , assign) CGFloat              transferCount;
@property (nonatomic , copy) NSString              * code;
@property (nonatomic , copy) NSString              * createdByPhone;
@property (nonatomic , copy) NSString              * xid;
@property (nonatomic , copy) NSString              * coalBigTypeName;
@property (nonatomic , assign) CGFloat              isTrunk;
@property (nonatomic , assign) CGFloat              isFinishOrder;
@property (nonatomic , copy) NSString              * consigneeDetailAddress;
//@property (nonatomic , assign) CGFloat              billingType;
@property (nonatomic , assign) CGFloat  weight;
@property (nonatomic , copy) NSString              * branchCode;
@property (nonatomic , assign) CGFloat            insuranceFee;
@property (nonatomic , assign) CGFloat              isHistoryOrder;
@property (nonatomic , copy) NSString              * modifiedByName;
@property (nonatomic , assign) CGFloat              taxFee;
@property (nonatomic , copy) NSString              * lastLoadingTime;
@property (nonatomic , copy) NSString              * modifiedBy;
@property (nonatomic , assign) CGFloat              taxPayFee;
@property (nonatomic , copy) NSString              * modifiedByPhone;
@property (nonatomic , assign) CGFloat              isDriverDeposit;
@property (nonatomic , assign) CGFloat              isMonthlyOrder;
@property (nonatomic , copy) NSString              * shipperPhone;
@property (nonatomic , copy) NSString              * isTrunkName;
@property (nonatomic , assign) CGFloat              driverCashDeposit;
@property (nonatomic , assign) CGFloat              limitWastageAmount;
@property (nonatomic , copy) NSString              * consigneeAddress;
@property (nonatomic , copy) NSString              * shipperAddress;
@property (nonatomic , copy) NSString              * lastUnloadingTime;
@property (nonatomic , assign) CGFloat              status;
@property (nonatomic , assign) CGFloat               allFee;
@property (nonatomic , copy) NSString              * gmtModified;
@property (nonatomic , assign) CGFloat              limitWastageType;
@property (nonatomic , assign) CGFloat              otherFee;
@property (nonatomic , assign) CGFloat              isInsure;
@property (nonatomic , copy) NSString              * shipmentPhone;
@property (nonatomic , assign) CGFloat               price;
@property (nonatomic , assign) CGFloat              infoFee;
@property (nonatomic , copy) NSString              * consigneePhone;
@property (nonatomic , assign) CGFloat              isOftenOrder;
@property (nonatomic , copy) NSString              * coalBigType;
@property (nonatomic , copy) NSString              * mainOrderNumber;
@property (nonatomic , copy) NSString              * shipperDetailAddress;
@property (nonatomic , copy) NSString              * shipperSubdivisionCode;
@property (nonatomic , assign) CGFloat              deleted;
@property (nonatomic , assign) CGFloat              lastCoalNumber;
@property (nonatomic , copy) NSString              * cancelTime;
@property (nonatomic , copy) NSString              * coalTypeName;
@property (nonatomic , copy) NSString              * dfPartyCode;
@property (nonatomic , assign) CGFloat              hasShared;
@property (nonatomic , assign) CGFloat              isTeam;
@property (nonatomic , copy) NSString              * gmtCreated;
@property (nonatomic , copy) NSString              * shipmentName;
@property (nonatomic , copy) NSString              * dfPhone;
@property (nonatomic , copy) NSString              * coalName;
@property (nonatomic , assign) CGFloat              coalPrice;  // 货物单价
@property (nonatomic , assign) CGFloat              isImportOrder;
@property (nonatomic , assign) CGFloat               maxPrice;
@property (nonatomic , assign) CGFloat             goodsTotal;
@property (nonatomic , assign) CGFloat              isShipperUnloadingConfirm;
@property (nonatomic , copy) NSString              * createdBy;
@property (nonatomic , copy) NSString              * upstreamCode;
@property (nonatomic , assign) CGFloat               inFee;
@property (nonatomic , copy) NSString              * consigneeSubdivisionCode;
@property (nonatomic , assign) CGFloat              insuranceNumber;
@property (nonatomic , assign) CGFloat              lastWeight;
@property (nonatomic , copy) NSString              * coalType;
@property (nonatomic , copy) NSString              * dfName;
@property (nonatomic , copy) NSString              * insuranceAmount;
@property (nonatomic , assign) CGFloat              isShare;
@property (nonatomic , assign) CGFloat              isTopOrder;
@property (nonatomic , assign) CGFloat              notReceivedCount;
@property (nonatomic , copy) NSString              * createdByName;
@property (nonatomic , assign) CGFloat               taxPrice;
@property (nonatomic , assign) CGFloat              isQuote;
@property (nonatomic ,assign) CGFloat              perWeight;
@property (nonatomic , copy) NSString              * shipmentPartyCode;
@property (nonatomic , copy) NSString              * consigneeName;
@property (nonatomic , copy) NSString              * shipperName;
@property (nonatomic , assign) CGFloat              receivedCount;
@property (nonatomic , copy) NSString              * coalUnit;
@property (nonatomic , copy) NSString              * coalUnitName;
@property (nonatomic , copy) NSString              * loadingStatus;
@property (nonatomic , assign) CGFloat              coalNumber;
@property (nonatomic , assign) CGFloat              isDeposit;
@property (nonatomic , assign) CGFloat              isShipperLoadingConfirm;
@property (nonatomic , assign) CGFloat              isCancel;
@property (nonatomic , assign) CGFloat              distance;
@property (nonatomic , copy) NSString              * pushVehicleUse;
@property (nonatomic , assign) CGFloat              pushType;
@property (nonatomic , copy) NSString              * finishedTime;
@property (nonatomic , copy) NSString              * remark;
//@property (nonatomic , copy) NSString              * billingTypeName;
@property (nonatomic , copy) NSString              * limitWastageTypeName;
@property (nonatomic , copy) NSString              * pushTargetName;
@property (nonatomic , copy) NSString              * insuranceFeeName;
@property (nonatomic , copy) NSString              * upstreamPhone;
@property (nonatomic , copy) NSString              * upstreamName;
@property (nonatomic , assign) CGFloat              cashDeposit;
@property (nonatomic , copy) NSString              * pushTarget;
@property (nonatomic , assign) CGFloat              maxTaxPrice;
@property (nonatomic,copy) NSString *transportTypeName;
@property (nonatomic,copy) NSString *transportType;

@end


@interface OrderTraceListItemModel :BaseModel
@property (nonatomic , copy) NSString              * modifiedBy;
@property (nonatomic , copy) NSString              * content;
@property (nonatomic , assign) CGFloat              deleted;
@property (nonatomic , copy) NSString              * branchCode;
@property (nonatomic , copy) NSString              * code;
@property (nonatomic , copy) NSString              * gmtCreated;
@property (nonatomic , copy) NSString              * xid;
@property (nonatomic , copy) NSString              * createdBy;
@property (nonatomic , copy) NSString              * gmtModified;
@property (nonatomic , copy) NSString              * orderCode;

@end


@interface CommentToDriverListItemModel :BaseModel

@end



@interface OrderListDetailModel : BaseModel
@property (nonatomic , strong) OrderDetailModel              * orderDetail;
@property (nonatomic , strong) OrderModel              * order;
@property (nonatomic , strong) NSArray <OrderTraceListItemModel *>              * orderTraceList;
@property (nonatomic , strong) NSArray <CommentToDriverListItemModel *>              * commentToDriverList;
@property (nonatomic , strong) NSArray <NSString *>              * fillImageInfoList; // 装货图片
@property (nonatomic , strong) NSArray <NSString *>              * commentToShipmentList;
@property (nonatomic , strong) NSArray <NSString *>              * signImageInfoList; // 卸货图片



@end


NS_ASSUME_NONNULL_END
